package com.tyk.bookstore.back.member.model.result;


import com.tyk.bookstore.back.common.core.model.result.ResultEnum;

/**
 * @author tyk
 * @description 会员异常枚举
 */
public enum MemberResultEnum implements ResultEnum {

    MEMBER_NOT_FOUND(3_09_01_01, "会员不存在");

    private final Integer code;
    private final String msg;

    MemberResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
